package com.hlz.lib.effectivejava.chapter2;

/**
 * @author Hongliang Zhu
 * @create 2023-08-20 15:33
 */
public class PizzaMain {

    public static void main(String[] args) {
        Pizza pizza = new NyPizza.Builder(NyPizza.Size.SMALL)
                .addToppings(Pizza.Topping.SAUSAGE).addToppings(Pizza.Topping.ONION)
                .build();

        Pizza pizza1 = new CalZone.Builder().addToppings(Pizza.Topping.HAM)
                .sauceInside()
                .build();

    }
}
